﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" Title="" %>
<asp:Content ID="indexTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Home Page--防伪码查询系统    
</asp:Content>

<asp:Content ID="indexContent" runat="server" ContentPlaceHolderID="MainContent">

<body>
    <%using (Html.BeginForm("Index", "Home", FormMethod.Post))
      {
           %>
           <div id="box">
            <div id="top">
            <div class="top_l">
            </div>
            <div class="top_c">
                欢迎来到防伪码查询系统!</div>
            <div class="top_r">
            </div>
        </div>        
        <ul id="content">
           <fieldset>
                <p>
                    <label for="securityCode" >请在下面输入防伪码</label>
                    <%= Html.TextBox("securityCode")%>
                    <%= Html.ValidationMessage("securityCode")%>
                </p>
                <p>
                    <label for="verifyCode">验证码:</label>
                    <%= Html.TextBox("verifyCode")%>
                    <%= Html.ValidationMessage("verifyCode")%>
                    <img src="/Handler/WaterMark.ashx" id="txtCodeImg" alt="" onclick="changeCode()" style="cursor:pointer;" />
                    点击可换
                </p>
                <p>
                    <input type="submit" class="input_send" value="立即查询" />
                </p>
            </fieldset>
           </div>
           
    <%} %>
    </body>
</asp:Content>
<asp:Content ID="ScriptContent" ContentPlaceHolderID="ScriptContent" runat="server">
<script type="text/javascript" src="/Scripts/register.js"></script>
<% if (IsPostBack) { %>
<script type="text/javascript">
	ValidateRegistration();
</script>
<% } %>
</asp:Content>

